package com.radiusmess;

import java.io.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class RadiusInformation implements Serializable {
	
	
	private String radiusKey;//共享密钥
	private int radiusAuthPort  = 1812;//认证
	private int radiusAcctPort  = 1813;//计费
	private String userName;//账号
	private String password;//密码
	private int sessId;
	
	/*private long nasPort;//nas端口
	private String nasIp;//nasIP地址
*/	



  public RadiusInformation() {
  }

  public void copyfrom(RadiusInformation ri) {
    this.setRadiusAuthPort(ri.getRadiusAuthPort());
    this.setRadiusAcctPort(ri.radiusAcctPort);
    this.setRadiusKey(ri.getRadiusKey());
    this.setUserName(ri.getUserName());
    this.setPassword(ri.getPassword());
    this.setSessId(ri.getSessId());
  /*  this.setNasIp(ri.getNasIp());
    this.setNasPort(ri.getNasPort());*/
  }

public String getRadiusKey() {
	return radiusKey;
}

public void setRadiusKey(String radiusKey) {
	this.radiusKey = radiusKey;
}

public int getRadiusAuthPort() {
	return radiusAuthPort;
}

public void setRadiusAuthPort(int radiusAuthPort) {
	this.radiusAuthPort = radiusAuthPort;
}

public int getRadiusAcctPort() {
	return radiusAcctPort;
}

public void setRadiusAcctPort(int radiusAcctPort) {
	this.radiusAcctPort = radiusAcctPort;
}

public String getUserName() {
	return userName;
}

public void setUserName(String userName) {
	this.userName = userName;
}

public String getPassword() {
	return password;
}

public void setPassword(String password) {
	this.password = password;
}

public int getSessId() {
	return sessId;
}

public void setSessId(int sessId) {
	this.sessId = sessId;
}


  
}